<template>
	<view>
		<view style="width: 100%;text-align: center;margin-top: 40px;">
			<custom-qrcode ref="qrCode" :val="qrCode" :size="300" :onval="true" :loadMake="true" :usingComponents="true"/>
		</view>
		<view style="width: 100%;text-align: center;">
			<label style="font-size:16px;color:#666">出示二维码给团长提货</label>
		</view>
		<view style="width: 100%;text-align: center;">
		    <text style="color:#999;font-size:14px;">长按可保存二维码</text>
		</view>
	</view>
</template>
<script>
	import {
		mapState,
		mapMutations
	} from 'vuex';
	import customQrcode from '@/components/custom-qrcode/custom-qrcode.vue'
	export default {
		components: {
				customQrcode
			},
		data() {
			return {
				qrCode :''
			}
		},
		onShow() {
			
		},
		computed: {
			...mapState(['hasLogin', 'userInfo', 'hasMerchant', 'merchantInfo'])
		},
		methods: {
			
		},
		mounted() {
			this.qrCode = this.userInfo.userUuid;
			this.$refs.qrCode._makeCode();
		},
	}
</script>

<style>
	
</style>
